<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="../bs引用文件/css/bootstrap.min.css" rel="stylesheet">
    <script type="text/javascript" src="../bs引用文件/js/jquery-1.11.1.min.js"></script>
    <script type="text/javascript" src="../bs引用文件/js/bootstrap.min.js"></script>
    <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <style>
        html {
            -ms-text-size-adjust: 100%;
            -webkit-text-size-adjust: 100%;
        }

        body {
            font-family: 'Microsoft Yahei', '微软雅黑', '宋体', \5b8b\4f53, Tahoma, Arial, Helvetica, STHeiti;
            margin: 0;
        }

        .main-nav {
            margin-left: 1px;
        }

        .main-nav.nav-tabs.nav-stacked > li {
        }

        .main-nav.nav-tabs.nav-stacked > li > a {
            padding: 10px 8px;
            font-size: 12px;
            font-weight: 600;
            color: #4A515B;
            background: #E9E9E9;
            background: -moz-linear-gradient(top, #FAFAFA 0%, #E9E9E9 100%);
            background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FAFAFA), color-stop(100%,#E9E9E9));
            background: -webkit-linear-gradient(top, #FAFAFA 0%,#E9E9E9 100%);
            background: -o-linear-gradient(top, #FAFAFA 0%,#E9E9E9 100%);
            background: -ms-linear-gradient(top, #FAFAFA 0%,#E9E9E9 100%);
            background: linear-gradient(top, #FAFAFA 0%,#E9E9E9 100%);
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9');
            -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9')";
            border: 1px solid #D5D5D5;
            border-radius: 4px;
        }

        .main-nav.nav-tabs.nav-stacked > li > a > span {
            color: #4A515B;
        }

        .main-nav.nav-tabs.nav-stacked > li.active > a, #main-nav.nav-tabs.nav-stacked > li > a:hover {
            color: #FFF;
            background: #3C4049;
            background: -moz-linear-gradient(top, #4A515B 0%, #3C4049 100%);
            background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4A515B), color-stop(100%,#3C4049));
            background: -webkit-linear-gradient(top, #4A515B 0%,#3C4049 100%);
            background: -o-linear-gradient(top, #4A515B 0%,#3C4049 100%);
            background: -ms-linear-gradient(top, #4A515B 0%,#3C4049 100%);
            background: linear-gradient(top, #4A515B 0%,#3C4049 100%);
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4A515B', endColorstr='#3C4049');
            -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#4A515B', endColorstr='#3C4049')";
            border-color: #2B2E33;
        }

        #main-nav.nav-tabs.nav-stacked > li.active > a, #main-nav.nav-tabs.nav-stacked > li > a:hover > span {
            color: #FFF;
        }

        .main-nav.nav-tabs.nav-stacked > li {
            margin-bottom: 4px;
        }

        .nav-header.collapsed > span.glyphicon-chevron-toggle:before {
            content: "\e114";
        }

        .nav-header > span.glyphicon-chevron-toggle:before {
            content: "\e113";
        }

        footer.duomi-page-footer {
            background-color: white;
        }

        footer.duomi-page-footer .beta-message {
            color: #a4a4a4;
        }

        footer.duomi-page-footer .beta-message a {
            color: #53a2e4;
        }

        footer.duomi-page-footer .list-inline a, footer.authenticated-footer .list-inline li {
            color: #a4a4a4;
            padding-bottom: 30px;
        }




        footer.duomi-page-footer {
            background-color: white;
        }

        footer.duomi-page-footer .beta-message {
            color: #a4a4a4;
        }

        footer.duomi-page-footer .beta-message a {
            color: #53a2e4;
        }

        footer.duomi-page-footer .list-inline a, footer.authenticated-footer .list-inline li {
            color: #a4a4a4;
            padding-bottom: 30px;
        }

        /*********************************************自定义部分*********************************************/
        .secondmenu a {
            font-size: 12px;
            color: #4A515B;
            text-align: center;
            border-radius: 4px;
        }

        .secondmenu > li > a:hover {
            background-color: #6f7782;
            border-color: #428bca;
            color: #fff;
        }

        .secondmenu li.active {
            background-color: #6f7782;
            border-color: #428bca;
            border-radius: 4px;
        }

        .secondmenu li.active > a {
            color: #ffffff;
        }

        .navbar-static-top {
            background-color: #212121;
            margin-bottom: 5px;
        }

        .navbar-brand {
            background: url('http://static-res.ruyo.net/ruyo_net_w_32.png') no-repeat 10px 8px;
            display: inline-block;
            vertical-align: middle;
            padding-left: 50px;
            color: #fff;
        }

        .navbar-brand:hover {
            color: #fff;
        }


        .collapse.glyphicon-chevron-toggle, .glyphicon-chevron-toggle:before {
            content: "\e113";
        }

        .collapsed.glyphicon-chevron-toggle:before {
            content: "\e114";
        }
    </style>
</head>
<body>
<?php
@session_start();
@$admin=$_SESSION["ZHz"];
if(!empty($admin)){
    $pdo=new PDO('mysql:dbname=shuju;charset=utf8','root');
    $useNamed=$pdo->prepare('select sinfor.id,sinfor.ygid,sinfor.name from sinfor join yuangong on sinfor.ygid=yuangong.id where yuangong.admin=:aa');
    $useNamed->execute(array('aa'=>$admin));
    $data=$useNamed->fetchAll(PDO::FETCH_NAMED);
    ?>
    <!--导航条-->
    <div class="container" style="border-radius: 5px; background: rgba(101, 205, 74, 0.4);height: 37px;">
        <div style="font-size: 100%;color: rgba(120, 80, 97, 0.72);" class="col-xs-8">
            客户经理[-<span style="color: #0000cc;font-size: 150%; "><?php echo @$data[0][name]; ?></span>-]你好，欢迎回到个人信息管理
        </div>
        <div style="text-align: right;font-size: 150%;color: #ac2925;" class="col-xs-4">
            <a href="../customer/Ctcdl.php">退出</a>
        </div>
    </div>
    <!--导航条-->
    <div class="container">
        <div class="row">
            <div class="col-md-2">
                <ul id="main-nav" class="main-nav nav nav-tabs nav-stacked" style="">
                    <li>
                        <a href="#">
                            <i class="glyphicon glyphicon-th-large"></i>
                            首页
                        </a>
                    </li>
                    <li>
                        <a href="#systemSetting" class="nav-header collapsed" data-toggle="collapse">
                            <i class="glyphicon glyphicon-cog"></i>
                            我的客户管理
                            <span class="pull-right glyphicon glyphicon-chevron-toggle"></span>
                        </a>
                        <ul id="systemSetting" class="nav nav-list secondmenu collapse" style="height: 0px;">
                            <li><a href="#"><i class="glyphicon glyphicon-user"></i>公共客户池</a></li>
                            <li><a href="#"><i class="glyphicon glyphicon-th-list"></i>挑入记录</a></li>
                            <li><a href="#"><i class="glyphicon glyphicon-asterisk"></i>挑出记录</a></li>
                            <li><a href="#"><i class="glyphicon glyphicon-edit"></i>全部客户列表</a></li>
                            <li><a href="#"><i class="glyphicon glyphicon-eye-open"></i>成功客户列表</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#disSetting" class="nav-header collapsed" data-toggle="collapse">
                            <i class="glyphicon glyphicon-globe"></i>
                            跟进管理
                            <span class="pull-right glyphicon glyphicon-chevron-toggle"></span>
                        </a>
                        <ul id="disSetting" class="nav nav-list secondmenu collapse">
                            <li><a href="#"><i class="glyphicon glyphicon-th-list"></i>待跟进客户列表</a></li>
                            <li><a href="#"><i class="glyphicon glyphicon-th-list"></i>客户跟进记录</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
            <div class="col-md-10">


            </div>
        </div>
    </div>
    <?php
}else{
    ?>
    <div class="modal-dialog">
        <div class="modal-content" style="
        background: -webkit-radial-gradient(red, green, rgba(120, 121, 255, 0.64));
         background: -o-radial-gradient(red, green, rgba(120, 121, 255, 0.64));
        background: -moz-radial-gradient(red, green,rgba(120, 121, 255, 0.64));
         background: radial-gradient(red, green, rgba(120, 121, 255, 0.64));
                     ">
            <div class="modal-header">
                <h3>消息</h3>
            </div>
            <div class="modal-body">
                <p>请登录后访问...</p>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary">
                    <a href="../index.php" style="color:white;">确定</a>
                </button>
            </div>
        </div>
    </div>
    <?php
}
?>
</body>
</html>
